package entity;

/**
 * <p>
 * 响应码定义
 * </p>
 *
 * @author XieTao
 * @since 2020/9/8
 */
public class StatusCode {
    /**
     * <p>一切正常</p>
     */
    public static final String OK = "00000";
    /**
     * <p>用户注册错误-二级宏观错误码</p>
     */
    public static final String USER_REGISTER_ERROR = "A0100";
    /**
     * <p>用户未同意隐私协议</p>
     */
    public static final String USER_REGISTER_NOT_ACCEPT_PRIVATE_PROTOCOL_ERROR = "A0101";
    /**
     * <p>注册国家或地区受限</p>
     */
    public static final String USER_REGISTER_COUNTRY_OR_AREA_LIMITED_ERROR = "A0102";
    /**
     * <p>用户名校验失败</p>
     */
    public static final String USER_REGISTER_USERNAME_VERIFICATION_FAILED_ERROR = "A0110";
    /**
     * <p>用户名已存在</p>
     */
    public static final String USER_REGISTER_USERNAME_EXIST_ERROR = "A0111";
    /**
     * <p>用户名包含敏感词</p>
     */
    public static final String USER_REGISTER_USERNAME_CONTAINS_SENSITIVE_WORD_ERROR = "A0112";
    /**
     * <p>用户名包含特殊字符</p>
     */
    public static final String USER_REGISTER_USERNAME_CONTAINS_SPECIAL_CHAR_ERROR = "A0113";
    /**
     * <p>密码校验失败</p>
     */
    public static final String USER_REGISTER_PASSWORD_VERIFICATION_FAILED_ERROR = "A0120";
    /**
     * <p>密码长度不够</p>
     */
    public static final String USER_REGISTER_PASSWORD_LENGTH_ERROR = "A0121";
    /**
     * <p>密码强度不够</p>
     */
    public static final String USER_REGISTER_PASSWORD_STRENGTH_ERROR = "A0122";
    /**
     * <p>校验码输入错误</p>
     */
    public static final String USER_REGISTER_VERIFICATION_CODE_ERROR = "A0130";
    /**
     * <p>短信校验码输入错误</p>
     */
    public static final String USER_REGISTER_VERIFICATION_CODE_SMS_ERROR = "A0131";
    /**
     * <p>邮件校验码输入错误</p>
     */
    public static final String USER_REGISTER_VERIFICATION_CODE_EMAIL_ERROR = "A0132";
    /**
     * <p>语音校验码输入错误</p>
     */
    public static final String USER_REGISTER_VERIFICATION_CODE_VOICE_ERROR = "A0133";
    /**
     * <p>用户证件异常</p>
     */
    public static final String USER_REGISTER_CERTIFICATE_ERROR = "A0140";
    /**
     * <p>用户证件类型未选择</p>
     */
    public static final String USER_REGISTER_CERTIFICATE_NOT_SELECTED_ERROR = "A0141";
    /**
     * <p>大陆身份证编号校验非法</p>
     */
    public static final String USER_REGISTER_CERTIFICATE_ID_CARD_NUMBER_VERIFICATION_ERROR = "A0142";
    /**
     * <p>护照编号校验非法</p>
     */
    public static final String USER_REGISTER_CERTIFICATE_PASSPORT_NUMBER_VERIFICATION_ERROR = "A0143";
    /**
     * <p>军官证编号校验非法</p>
     */
    public static final String USER_REGISTER_CERTIFICATE_OFFICER_NUMBER_VERIFICATION_ERROR = "A0144";
    /**
     * <p>用户基本信息校验失败</p>
     */
    public static final String USER_REGISTER_BASE_VERIFICATION_ERROR = "A0150";
    /**
     * <p>手机格式校验失败</p>
     */
    public static final String USER_REGISTER_BASE_VERIFICATION_PHONE_ERROR = "A0151";
    /**
     * <p>地址格式校验失败</p>
     */
    public static final String USER_REGISTER_BASE_VERIFICATION_ADDRESS_ERROR = "A0152";
    /**
     * <p>邮箱格式校验失败</p>
     */
    public static final String USER_REGISTER_BASE_VERIFICATION_EMAIL_ERROR = "A0153";
    /**
     * <p>用户登录异常-二级宏观错误码</p>
     */
    public static final String USER_LOGIN_ERROR = "A0200";
    /**
     * <p>用户账户不存在</p>
     */
    public static final String USER_LOGIN_ACCOUNT_NOT_EXIST_ERROR = "A0200";
    /**
     * <p>用户账户被冻结</p>
     */
    public static final String USER_LOGIN_ACCOUNT_FREEZE_ERROR = "A0202";
    /**
     * <p>用户账户已作废</p>
     */
    public static final String USER_LOGIN_ACCOUNT_INVALID_ERROR = "A0203";
    /**
     * <p>用户密码错误</p>
     */
    public static final String USER_LOGIN_PASSWORD_ERROR = "A0210";
    /**
     * <p>用户输入密码错误次数超限</p>
     */
    public static final String USER_LOGIN_PASSWORD_COUNTER_LIMITED_ERROR = "A0211";
    /**
     * <p>用户身份校验失败</p>
     */
    public static final String USER_LOGIN_IDENTITY_ERROR = "A0220";
    /**
     * <p>用户指纹识别失败</p>
     */
    public static final String USER_LOGIN_IDENTITY_FINGER_ERROR = "A0221";
    /**
     * <p>用户面容识别失败</p>
     */
    public static final String USER_LOGIN_IDENTITY_FACE_ERROR = "A0222";
    /**
     * <p>用户未获得第三方登录授权</p>
     */
    public static final String USER_LOGIN_IDENTITY_THIRD_PARTY_AUTH_ERROR = "A0223";
    /**
     * <p>用户登录已过期</p>
     */
    public static final String USER_LOGIN_EXPIRED_ERROR = "A0230";
    /**
     * <p>用户验证码错误</p>
     */
    public static final String USER_LOGIN_VERIFICATION_ERROR = "A0240";
    /**
     * <p>用户验证码尝试次数超限</p>
     */
    public static final String USER_LOGIN_VERIFICATION_COUNTER_LIMIT_ERROR = "A0241";
    /**
     * <p>访问权限异常-二级宏观错误码</p>
     */
    public static final String USER_ACCESS_ERROR = "A0300";
    /**
     * <p>访问未授权</p>
     */
    public static final String USER_ACCESS_NONE_AUTH_ERROR = "A0300";
    /**
     * <p>正在授权中</p>
     */
    public static final String USER_ACCESS_AUTHING_ERROR = "A0302";
    /**
     * <p>用户授权申请被拒绝</p>
     */
    public static final String USER_ACCESS_AUTH_REFUSED_ERROR = "A0303";
    /**
     * <p>因访问对象隐私设置被拦截</p>
     */
    public static final String USER_ACCESS_PRIVATE_SETTING_ERROR = "A0310";
    /**
     * <p>授权已过期</p>
     */
    public static final String USER_ACCESS_AUTH_EXPIRED_ERROR = "A0311";
    /**
     * <p>无权限使用API</p>
     */
    public static final String USER_ACCESS_AUTH_API_ERROR = "A0312";
    /**
     * <p>用户访问被拦截</p>
     */
    public static final String USER_ACCESS_INTERCEPT_ERROR = "A0320";
    /**
     * <p>黑名单用户</p>
     */
    public static final String USER_ACCESS_BLACK_LIST_ERROR = "A0321";
    /**
     * <p>账号被冻结</p>
     */
    public static final String USER_ACCESS_FREEZE_ERROR = "A0322";
    /**
     * <p>非法IP地址</p>
     */
    public static final String USER_ACCESS_IP_ILLEGAL_ERROR = "A0323";
    /**
     * <p>网关访问受限</p>
     */
    public static final String USER_ACCESS_GATEWAY_LIMIT_ERROR = "A0324";
    /**
     * <p>地域黑名单</p>
     */
    public static final String USER_ACCESS_AREA_BLACK_LIST_ERROR = "A0325";
    /**
     * <p>用户请求参数错误-二级宏观错误码</p>
     */
    public static final String USER_REQUEST_ARGS_ERROR = "A0400";
    /**
     * <p>包含非法恶意跳转链接</p>
     */
    public static final String USER_REQUEST_ARGS_MALICIOUS_LINK_ERROR = "A0401";
    /**
     * <p>无效的用户输入</p>
     */
    public static final String USER_REQUEST_ARGS_INVALID_ERROR = "A0402";
    /**
     * <p>请求必填参数为空</p>
     */
    public static final String USER_REQUEST_ARGS_LACK_ERROR = "A0410";
    /**
     * <p>请求参数值超出允许的范围</p>
     */
    public static final String USER_REQUEST_ARGS_EXCEED_ERROR = "A0420";
    /**
     * <p>请求JSON解析失败</p>
     */
    public static final String USER_REQUEST_ARGS_JSON_PARSE_ERROR = "A0427";
    /**
     * <p>用户输入内容非法</p>
     */
    public static final String USER_INPUT_ERROR = "A0430";
    /**
     * <p>包含违禁敏感词</p>
     */
    public static final String USER_INPUT_CONTAINS_SENSITIVE_WORD_ERROR = "A0431";
    /**
     * <p>图片包含违禁信息</p>
     */
    public static final String USER_INPUT_CONTAINS_PROHIBITED_ERROR = "A0432";
    /**
     * <p>文件侵犯版权</p>
     */
    public static final String USER_INPUT_PIRACY_ERROR = "A0433";
    /**
     * <p>用户操作异常</p>
     */
    public static final String USER_OPTION_ERROR = "A0440";
    /**
     * <p>用户请求服务异常-二级宏观错误码</p>
     */
    public static final String USER_REQUEST_SERVICE_ERROR = "A0500";
    /**
     * <p>请求次数超出限制</p>
     */
    public static final String USER_REQUEST_SERVICE_COUNTER_LIMIT_ERROR = "A0501";
    /**
     * <p>请求并发数超出限制</p>
     */
    public static final String USER_REQUEST_SERVICE_CONCURRENT_LIMIT_ERROR = "A0502";
    /**
     * <p>用户操作请等待</p>
     */
    public static final String USER_REQUEST_SERVICE_WAITING_ERROR = "A0503";
    /**
     * <p>WebSocket连接异常</p>
     */
    public static final String USER_REQUEST_SERVICE_WEB_SOCKET_CONNECT_ERROR = "A0504";
    /**
     * <p>WebSocket连接断开</p>
     */
    public static final String USER_REQUEST_WEB_SOCKET_DISCONNECT_ERROR = "A0505";
    /**
     * <p>用户重复请求</p>
     */
    public static final String USER_REQUEST_SERVICE_REPEAT_ERROR = "A0506";
    /**
     * <p>用户上传文件异常-二级宏观错误码</p>
     */
    public static final String USER_UPLOAD_FILE_ERROR = "A0700";
    /**
     * <p>用户上传文件类型不匹配</p>
     */
    public static final String USER_UPLOAD_FILE_MIME_TYPE_ERROR = "A0701";
    /**
     * <p>用户上传文件太大</p>
     */
    public static final String USER_UPLOAD_FILE_SIZE_ERROR = "A0702";
    /**
     * <p>用户上传图片太大</p>
     */
    public static final String USER_UPLOAD_FILE_PIC_SIZE_ERROR = "A0703";
    /**
     * <p>用户上传视频太大</p>
     */
    public static final String USER_UPLOAD_FILE_VIDEO_SIZE_ERROR = "A0704";
    /**
     * <p>用户上传压缩文件太大</p>
     */
    public static final String USER_UPLOAD_FILE_ARCHIVE_SIZE_ERROR = "A0705";
    /**
     * <p>系统执行出错 一级宏观错误码</p>
     */
    public static final String SYSTEM_EXEC_ERROR = "B0001";
    /**
     * <p>系统执行超时 二级宏观错误码</p>
     */
    public static final String SYSTEM_EXEC_TIMEOUT_ERROR = "B0100";
    /**
     * <p>系统容灾功能被触发 二级宏观错误码</p>
     */
    public static final String SYSTEM_EXEC_DISASTER_TOLERANCE_ERROR = "B0200";
    /**
     * <p>系统限流</p>
     */
    public static final String SYSTEM_EXEC_DISASTER_TOLERANCE_LIMITING_ERROR = "B0210";
    /**
     * <p>系统功能降级</p>
     */
    public static final String SYSTEM_EXEC_DISASTER_TOLERANCE_DOWNGRADE_ERROR = "B0220";
    /**
     * <p>系统资源异常 二级宏观错误码</p>
     */
    public static final String SYSTEM_RESOURCE_ERROR = "B0300";
    /**
     * <p>系统资源耗尽</p>
     */
    public static final String SYSTEM_RESOURCE_DEPLETE_ERROR = "B0310";
    /**
     * <p>系统磁盘空间耗尽</p>
     */
    public static final String SYSTEM_RESOURCE_DEPLETE_DISK_ERROR = "B0311";
    /**
     * <p>系统内存耗尽</p>
     */
    public static final String SYSTEM_RESOURCE_DEPLETE_MEMORY_ERROR = "B0312";
    /**
     * <p>文件句柄耗尽</p>
     */
    public static final String SYSTEM_RESOURCE_DEPLETE_FILE_HANDLE_ERROR = "B0313";
    /**
     * <p>系统连接池耗尽</p>
     */
    public static final String SYSTEM_RESOURCE_DEPLETE_CONNECT_POOL_ERROR = "B0314";
    /**
     * <p>系统线程池耗尽</p>
     */
    public static final String SYSTEM_RESOURCE_DEPLETE_THREAD_POOL_ERROR = "B0315";
    /**
     * <p>系统资源访问异常</p>
     */
    public static final String SYSTEM_RESOURCE_ACCESS_ERROR = "B0320";
    /**
     * <p>系统读取磁盘文件失败</p>
     */
    public static final String SYSTEM_RESOURCE_READ_DISK_ERROR = "B0321";
    /**
     * <p>调用第三方服务出错 一级宏观错误码</p>
     */
    public static final String THIRD_PART_ERROR = "C0001";
    /**
     * <p>中间件服务出错 二级宏观错误码</p>
     */
    public static final String THIRD_PART_MIDDLEWARE_ERROR = "C0100";
    /**
     * <p>RPC服务出错</p>
     */
    public static final String THIRD_PART_RPC_ERROR = "C0110";
    /**
     * <p>RPC服务未找到</p>
     */
    public static final String THIRD_PART_RPC_NOT_FOUND_ERROR = "C0111";
    /**
     * <p>RPC服务未注册</p>
     */
    public static final String THIRD_PART_RPC_NOT_REGISTER_ERROR = "C0112";
    /**
     * <p>接口不存在</p>
     */
    public static final String THIRD_PART_INTERFACE_NOT_EXIST_ERROR = "C0113";
    /**
     * <p>消息服务出错</p>
     */
    public static final String THIRD_PART_MQ_ERROR = "C0120";
    /**
     * <p>消息投递出错</p>
     */
    public static final String THIRD_PART_MQ_PRODUCE_ERROR = "C0121";
    /**
     * <p>消息消费出错</p>
     */
    public static final String THIRD_PART_MQ_CONSUME_ERROR = "C0122";
    /**
     * <p>消息订阅出错</p>
     */
    public static final String THIRD_PART_MQ_SUBSCRIPTION_ERROR = "C0123";
    /**
     * <p>消息分组未查到</p>
     */
    public static final String THIRD_PART_MQ_GROUP_NOT_FOUND_ERROR = "C0124";
    /**
     * <p>缓存服务出错</p>
     */
    public static final String THIRD_PART_CACHE_ERROR = "C0130";
    /**
     * <p>key长度超过限制</p>
     */
    public static final String THIRD_PART_CACHE_KEY_LENGTH_ERROR = "C0131";
    /**
     * <p>value长度超过限制</p>
     */
    public static final String THIRD_PART_CACHE_VALUE_LENGTH_ERROR = "C0132";
    /**
     * <p>存储容量已满</p>
     */
    public static final String THIRD_PART_CACHE_STORAGE_OVER_ERROR = "C0133";
    /**
     * <p>不支持的数据格式</p>
     */
    public static final String THIRD_PART_CACHE_UNSUPPORTED_DATA_TYPE_ERROR = "C0134";
    /**
     * <p>配置服务出错</p>
     */
    public static final String THIRD_PART_CONFIG_ERROR = "C0140";
    /**
     * <p>网络资源服务出错</p>
     */
    public static final String THIRD_PART_NETWORK_RESOURCE_ERROR = "C0150";
    /**
     * <p>域名解析服务出错</p>
     */
    public static final String THIRD_PART_DOMAIN_PARSE_ERROR = "C0153";
    /**
     * <p>网关服务出错</p>
     */
    public static final String THIRD_PART_GATEWAY_ERROR = "C0154";
    /**
     * <p>第三方系统执行超时 二级宏观错误码 </p>
     */
    public static final String THIRD_PART_TIMEOUT_ERROR = "C0200";
    /**
     * <p>RPC执行超时</p>
     */
    public static final String THIRD_PART_TIMEOUT_RPC_ERROR = "C0210";
    /**
     * <p>消息投递超时</p>
     */
    public static final String THIRD_PART_TIMEOUT_MSG_PRODUCE_ERROR = "C0220";
    /**
     * <p>缓存服务超时</p>
     */
    public static final String THIRD_PART_TIMEOUT_CACHE_ERROR = "C0230";
    /**
     * <p>配置服务超时</p>
     */
    public static final String THIRD_PART_TIMEOUT_CONFIG_ERROR = "C0240";
    /**
     * <p>数据库服务超时</p>
     */
    public static final String THIRD_PART_TIMEOUT_DB_ERROR = "C0250";
    /**
     * <p>数据库服务出错 二级宏观错误码</p>
     */
    public static final String THIRD_PART_DB_ERROR = "C0300";
    /**
     * <p>表不存在</p>
     */
    public static final String THIRD_PART_DB_TABLE_NOT_EXIST_ERROR = "C0311";
    /**
     * <p>列不存在</p>
     */
    public static final String THIRD_PART_DB_COLUMN_NOT_EXIST_ERROR = "C0312";
    /**
     * <p>多表关联中存在多个相同名称的列</p>
     */
    public static final String THIRD_PART_DB_COLUMN_MULTIPLE_ERROR = "C0321";
    /**
     * <p>数据库死锁</p>
     */
    public static final String THIRD_PART_DB_DEAD_LOCk_ERROR = "C0331";
    /**
     * <p>主键冲突</p>
     */
    public static final String THIRD_PART_DB_PK_CONFLICT_ERROR = "C0341";
    /**
     * <p>第三方容灾系统被触发 二级宏观错误码 </p>
     */
    public static final String THIRD_PART_DISASTER_TOLERANCE_ERROR = "C0400";
    /**
     * <p>第三方系统限流</p>
     */
    public static final String THIRD_PART_DISASTER_TOLERANCE_LIMIT_ERROR = "C0401";
    /**
     * <p>第三方功能降级</p>
     */
    public static final String THIRD_PART_DISASTER_TOLERANCE_DOWNGRADE_ERROR = "C0402";
    /**
     * <p>通知服务出错 二级宏观错误码 </p>
     */
    public static final String THIRD_PART_NOTICE_ERROR = "C0500";
    /**
     * <p>短信提醒服务失败 </p>
     */
    public static final String THIRD_PART_NOTICE_SMS_ERROR = "C0501";
    /**
     * <p>语音提醒服务失败 </p>
     */
    public static final String THIRD_PART_NOTICE_VOICE_ERROR = "C0502";
    /**
     * <p>邮件提醒服务失败 </p>
     */
    public static final String THIRD_PART_NOTICE_EMAIL_ERROR = "C0503";
}
